<template>
	<web-view :src="url"></web-view>
</template>

<script>
	export default {
		data() {
			return {
				url: ''
			}
		},
		onLoad: function(param) {
			this.url = param.gamePlay
			if(param.type=='down'){
				uni.showToast({
					title:'下载跳转!'
				})
				setTimeout(function(){
					uni.navigateBack()
				},2000)
			}
		}
	}
</script>
